package com.babble.manage.feign.fallback;

import com.babble.manage.entity.Img;
import com.babble.manage.feign.IImgClient;
import org.springblade.core.tool.api.R;
import org.springframework.stereotype.Component;

/**
 * Feign失败配置
 *
 * @author wm
 */
@Component
public class ImgClientFallback implements IImgClient {
	@Override
	public R<Img> getImg(String id) {
		return R.fail("未获取到图片信息");
	}
}
